#ifndef _EMAC_PARAMS_H_
#define _EMAC_PARAMS_H_

#include "semaphores.h"
#include "queue.h"

#define EMAC_PARAMS_MEM ((uint8_t *)"emac_params")

typedef struct
{
    sem_t emac_sem;
    uint8_t  mac_addr[6];
    uint32_t ip_addr;
    uint32_t subnet_mask;
    uint32_t gateway_addr;
    q_id_t   tx_queue_id;  // queue-id of emac TX task
    bool     tx_params_ready;
}emac_params_t;

#endif
